/*
 * Copyright (c) 2021 Huize (Chengdu) Network Technology Co., LTD All rights reserved.
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

/**
 * huize Service Inc
 * All Rights Reserved @2018
 */
package com.huize.zhike.framework.common.enumeration;



/**
 * 描述:
 *
 * @author tianyuliang
 * @version $Id: HttpMethodEnum.java, v0.1 2019/9/25
 */
public enum HttpMethodEnum {

    GET("GET", ""),

    POST("POST", ""),

    PUT("PUT", ""),

    DELETE("DELETE", ""),

    HEAD("HEAD", ""),

    OPTIONS("OPTIONS", "");


    private String method;

    private String desc;

    HttpMethodEnum(String method, String desc) {
        this.method = method;
        this.desc = desc;
    }


    public String getCode() {
        return method;
    }


    public String getDesc() {
        return desc;
    }

}
